package lab02.test10;

public class Test10 {
    public static void main(String[] args) {

        ChinaPeople chinaPeople = new ChinaPeople();
        System.out.println(chinaPeople.sayLanguage());

        BeiJingPeople beiJingPeople = new BeiJingPeople();
        System.out.println(beiJingPeople.sayLanguage());

        AmericanPeople americanPeople = new AmericanPeople();
        System.out.println(americanPeople.sayLanguage());
    }
}
